﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News_Manage.aspx.cs" Inherits="web.manage.News_Manage" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
	
</title><link href="css/css.css" rel="stylesheet" type="text/css" /><link href="css/css_list.css" rel="stylesheet" type="text/css" /><link href="css/control.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="js/Common.js"></script>
<script type="text/javascript" language="javascript" src="Js/Control_Calendar.js"></script>
</head>
<body>
    <form name="form1" runat="server" id="form1">

    <div>
<div class="listnavi">
    <div class="listnavititle">【 公告管理 】</div>
    
</div>

        <div id="searcharea"><b style="color:#4B6888; display:none">搜索文章：</b>
                    <asp:DropDownList ID="ddltype" runat="server">
                        <asp:ListItem Value="0">系统公告</asp:ListItem>
                        <asp:ListItem Value="1">新闻快讯</asp:ListItem>
                        <asp:ListItem Value="2">推荐文章</asp:ListItem>
                        <asp:ListItem Value="3">热点聚焦</asp:ListItem>
                        <asp:ListItem Value="4">公司信息</asp:ListItem>
                        <asp:ListItem Value="5">帮助信息</asp:ListItem>
                    </asp:DropDownList>
                &nbsp;<asp:Button ID="Button1" CssClass="b2" runat="server" Text="查询" 
                onclick="Button1_Click" />
        </div>
        
        <div id="content">
            <div class="listborder">
            <div id="UpdatePanel2">
	
                <div>
		<table class="datalist" cellspacing="0" border="0" id="GridViewShow" style="border-width:0px;width:100%;border-collapse:collapse;">
			<tr class="category" style="color:#000000;height:28px;">
				<th align="center" valign="middle" scope="col"><a href="javascript:__doPostBack('GridViewShow','Sort$ID')" style="color:#000000;">ID</a></th><th scope="col"><a href="javascript:__doPostBack('GridViewShow','Sort$Title')" style="color:#000000;">公告标题</a></th><th scope="col"><a href="javascript:__doPostBack('GridViewShow','Sort$Date')" style="color:#000000;">发布时间</a></th><th scope="col">
                操作</th>
			</tr>
			<asp:Repeater ID="repList" runat="server" OnItemCommand="Repeater1_ItemCommand">
			<ItemTemplate>
			<tr onmouseover="ShowSelect(this,0)" onmouseout="ShowSelect(this,1)" id="0" onclick="CheckByRowID(0)" IsSelected="0" style="height:28px;">
				<td style="width:10%;"><%#Eval("newsId") %></td><td style="width:40%;"><%#Eval("newsTitle") %> </td><td style="width:8%;"><%#Convert.ToDateTime(Eval("addTime")).ToString("yyyy-MM-dd") %></td><td style="width:17%;">
				<a href="news_operate.aspx?id=<%#Eval("newsId") %>">编辑</a>
				<asp:LinkButton Text="删除" runat="server" CommandArgument='<%#Eval("newsId") %>'></asp:LinkButton></td>
			</tr>
			</ItemTemplate>
			</asp:Repeater>
		</table>
	</div>
                
</div>
            </div>
        </div>
        
        
        

    </div>
   

    <webdiyer:AspNetPager ID="AspNetPager1" runat="server">
    </webdiyer:AspNetPager>
   

</form>
    
</body>
</html>
